Favicon

You are here: Home > API Reference > Windows > Windows Devices Script logs > Invalidate script (once)

Invalidate script (once)

Invalidate script (once)

POST /v1/organizations/:organizationId/mdm/windows/enterprise/devices/:winDeviceId/script-logs/invalidate-once

Invalidate script (once)

Invalidate script (once)

Request

Add parameter in header authorization
Example: Authorization: Bearer <token>
organizationId string
required
Entity Id or Slug
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$
winDeviceId string
required
Entity Id, IMEI or Serial Number
Match pattern: ^(([a-fA-F0-9]{24})|(\w{1,}))$
Body Params application/json
mdmAssetId string required
Entity Id
Match pattern: ^[a-fA-F0-9]{24}$
{
    "mdmAssetId": "string"
}

Responses

200 Response application/json
status boolean optional
data object optional
items array [string] optional
totalCount integer optional
≥ 0
{
    "status": true,
    "data": {
        "items": [
            "string"
        ],
        "totalCount": 0
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}